package com.supermap.dubbo.api.cloud.project;

import com.supermap.dataservice.util.JSONUtils;

/**
 * @author aqua
 * @description 项目管理所有接口 老铁
 * @date 2019年11月04 17:15
 * @email 1301584033@qq.com
 */

public interface ProjectService {
    //项目人员查询
    JSONUtils getUserParamList(String areaParm,Integer projectId);

    //项目查询
    JSONUtils  getPageProjectList(String name,String userId,Integer page,Integer size);

    //预算类型
    JSONUtils getExpendList();
    //项目添加
    JSONUtils putProject(Project project);

    //删除项目
    JSONUtils delProject(Integer projectId);

    //删除计划
    JSONUtils delProjectPlan(Integer PlanId);

    //修改项目
    JSONUtils postProject(Project project);

    //修改项目计划
    JSONUtils postProjectPlan(ProjectPlan plan);

//-------------------------------------------------------------------------------------------

    //报销查看
    JSONUtils getPageProjectSubmitList(Integer projectId,String userId,Integer planId,String bDate,String eDate,String state,String stype,Integer page,Integer size);

    //上传
    JSONUtils postSubmitList(SubmitFile submitFile);

    //------------------------------------------------------------------------------------------

    //成果查询
    JSONUtils getPageProjectChengguoList(Integer projectId,Integer typeid,Integer page,Integer size);

    //添加成果
    JSONUtils putAchievement(Achievement achievement);


   // ----------------------------------------------------------

    //区域作物查询
    JSONUtils getPageAreaCropList(String areaCode,String cropName,Integer yer,String xiangzheng,Integer page,Integer size);
    //区域上传
    JSONUtils putAreaCrop(AreaCrop areaCrop);

}
